import request from '@/utils/request'


export function getcontest(id) {
  return request({
    url: `/system/contest/${id}`,
    method: 'get'
  })
}

export function putcontest(data) {
  return request({
    url: `/system/contest/`,
	data,
    method: 'put'
  })
}